import { http } from "@/utils/http/index";

export const imageUpload = (data: FormData) => {
  return http.request<any>(
    "post",
    "/upload/image",
    { data },
    { headers: { "Content-Type": "multipart/form-data" } }
  );
};
